using System;
class rohit
{
    public static void Main()
    {
        int[] a = new int[7] { 10, 30, 60, 20, 50, 40, 70 };
        int l = a.Length;
        Console.WriteLine("Length of an array is: " + l);

        int r = a.Rank;
        Console.WriteLine("\nRank of an array is: " + l);

        bool b = a.IsFixedSize;
        Console.WriteLine("\nArray is fized size or not " + b);

        Array.Sort(a);
        Console.WriteLine("\nArray in sorted order ");
        foreach (int k in a)
        {
            Console.Write(k + "  ");
        }
        int x = a.GetLength(0);
        Console.WriteLine("\nLength of an array is: " + x);

        int y = (int)a.GetValue(3);
        Console.WriteLine("\nValue is: " + y);

        int i = Array.IndexOf(a, 50);
        Console.WriteLine("\nIndex of an array is: " + i);

        Console.ReadLine();

    }
}